package com.zjhn.ds.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.param
 * @Author: sxt
 * @CreateTime: 2023-10-11  09:56
 * @Description:
 * @Version: 1.0
 */
@Data
public class SwipeCardParam {

    @ApiModelProperty(value = "生产包单据号或者Rfid")
    @NotBlank(message = "code不能为空")
    private String code;

    @ApiModelProperty(value = "机台Id")
    @JsonProperty("station_id")
    @NotBlank(message = "机台id不能为空")
    private String stationId;
}
